

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'


// 解决 global 未定义问题
/* (window as any).global = window;

import { regionData } from 'element-china-area-data'
export default {
    data() {
        return {
            regionData,
            selectedOptions: []
        }
    },
} */
const app = createApp(App)

app.use(ElementPlus, {
    locale: zhCn,
})
app.use(Vant)
app.use(createPinia())
app.use(router)

app.mount('#app')
app.use(hiPrintPlugin, '$pluginName');